package org.rk.core.tools.office.mapping;

import org.rk.core.common.anno.FieldMeta;
import org.rk.core.common.anno.TableMeta;
import org.rk.core.common.bean.BaseBean;


@TableMeta(name = "tool_office_excel_mapping", catalog = "rk",desc="")
public class ToolOfficeExcelMapping extends BaseBean{

	private static final long serialVersionUID = 1L;
	@FieldMeta(name="tableName",length=50,desc="表名",defaultValue="")
	private String tableName;
	@FieldMeta(name="beanName",length=200,desc="实体bean对象，绝对包路径",defaultValue="")
	private String beanName;
	@FieldMeta(name="fieldName",length=100,desc="字段中文名称",defaultValue="")
	private String fieldName;
	@FieldMeta(name="localField",length=50,desc="本库字段名",defaultValue="")
	private String localField;
	@FieldMeta(name="resourceField",length=50,desc="excel原字段名",defaultValue="")
	private String resourceField;
	@FieldMeta(name="isMust",length=1,desc="是否必须字段，导入时使用",defaultValue="")
	private String isMust;
	@FieldMeta(name="opraType",length=20,desc="业务类型，每个业务一个对象",defaultValue="")
	private String opraType;
	@FieldMeta(name="imOrEx",length=2,desc="导入或导出，1导入2导出3均可",defaultValue="")
	private String imOrEx;
	@FieldMeta(name="enabled",length=1,desc="是否启用",defaultValue="")
	private String enabled;
	@FieldMeta(name="remark",length=200,desc="备注",defaultValue="")
	private String remark;

	public void setTableName(String tableName){
		this.tableName=tableName;
	}

	public String getTableName(){
		return tableName;
	}

	public void setBeanName(String beanName){
		this.beanName=beanName;
	}

	public String getBeanName(){
		return beanName;
	}

	public void setFieldName(String fieldName){
		this.fieldName=fieldName;
	}

	public String getFieldName(){
		return fieldName;
	}

	public void setLocalField(String localField){
		this.localField=localField;
	}

	public String getLocalField(){
		return localField;
	}

	public void setResourceField(String resourceField){
		this.resourceField=resourceField;
	}

	public String getResourceField(){
		return resourceField;
	}

	public void setIsMust(String isMust){
		this.isMust=isMust;
	}

	public String getIsMust(){
		return isMust;
	}

	public void setOpraType(String opraType){
		this.opraType=opraType;
	}

	public String getOpraType(){
		return opraType;
	}

	public void setImOrEx(String imOrEx){
		this.imOrEx=imOrEx;
	}

	public String getImOrEx(){
		return imOrEx;
	}

	public void setEnabled(String enabled){
		this.enabled=enabled;
	}

	public String getEnabled(){
		return enabled;
	}

	public void setRemark(String remark){
		this.remark=remark;
	}

	public String getRemark(){
		return remark;
	}

}
